package org.idea.eaglemq.common.enums;

/*
 broker服务端事件处理code
 */
public enum BrokerEventCode {

    PUSH_MSG(1001, "推送消息"),
    CONSUME_MSG(1002,"消费消息"),
    ;

    int code;
    String desc;

    BrokerEventCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}

